/** 任务类型 */
export interface JobResp {
  id: number
  title: string
  jobClassName: string
  triggerType: number
  fixedInterval: number | string
  cron: string
  param: string
  status: number
  description: string
  isSystem: boolean
  createTime: Date
  createBy: string
  updateTime: Date
  updateBy: string
}
export interface JobQuery {
  title?: string
  jobClassName?: string
  triggerType?: number
  status?: number
}
export interface JobPageQuery extends JobQuery, PageQuery {}

/** 任务日志类型 */
export interface JobLogResp {
  id: number
  jobId: number
  title: string
  param: string
  duration: number
  result: number
  detail: string
  createTime: Date
}
export interface JobLogQuery {
  jobId?: number
  title?: string
  result?: number
  datetimeRange?: Array<string>
}
export interface JobLogPageQuery extends JobLogQuery, PageQuery {}
